Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate transaction module #442

Merged
merged 24 commits into from
Oct 12, 2024
Merged

Deprecate transaction module #442

merged 24 commits into from
Oct 12, 2024

Conversation

kevinheavey
Copy link
Collaborator

@kevinheavey kevinheavey commented Jul 5, 2024

The transaaction module is broken (see #268) and solders.transaction works so I guess we should just use that?

This also entails changing the send_transaction methods such that it is the caller's job to fetch a recent blockhash and sign the transaction

Copy link

codecov bot commented Jul 5, 2024

Codecov Report

Attention: Patch coverage is 91.57895% with 16 lines in your changes missing coverage. Please review.

Project coverage is 89.03%. Comparing base (0a57fd9) to head (858b9d8).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #442      +/-   ##
==========================================
- Coverage   89.58%   89.03%   -0.55%     
==========================================
  Files          28       28              
  Lines        2227     2280      +53     
==========================================
+ Hits         1995     2030      +35     
- Misses        232      250      +18     

Copy link
Owner

@michaelhly michaelhly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@michaelhly
Copy link
Owner

michaelhly commented Jul 22, 2024

Perhaps we should add a migration guide to the documentation?
https://github.com/michaelhly/solana-py/blob/master/docs/core/transaction.md

@michaelhly
Copy link
Owner

@kevinheavey Actually. I think it'd be better to emit a depreciation warning to notify users to use the solder's transaction rather than outright deletion.

@neochine
Copy link
Contributor

neochine commented Oct 2, 2024

Could you please fix this issue #453, then merge it using pull request and then remove from solana.transaction import Transaction so I can use older version of solana-py even if its removed. Thanks

@michaelhly michaelhly changed the title Remove transaction module Deprecate transaction module Oct 12, 2024
@michaelhly michaelhly merged commit b34848c into master Oct 12, 2024
13 checks passed
@michaelhly michaelhly deleted the remove-transaction branch October 12, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants